<template>
  <div class="forbidden-container">
    <div>
      <h1 style="margin-bottom: 20px;">SORRY</h1>
      <h1 style="margin-bottom: 200px;">YOU DON'T HAVE <b class="banner">PERMISSION</b> TO THIS PAGE  !</h1>
    </div>
    <el-button type="primary" @click="goHome">返回登录页</el-button>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router';

const router = useRouter();

const goHome = () => {
  router.push('/login');
};
</script>

<style scoped>
.forbidden-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
  /* background-color: #f5f7fa; */
  /* gap: 300px; */
}

.banner {
  background-color: #dca1a1;
}

b {
  font-size: 60px;
  color: red;
}
</style>